package com.chuangan.releasetask.service;

import com.chuangan.releasetask.dto.TaskDTO;
import com.chuangan.releasetask.pojo.TaskMaster;
import org.springframework.web.multipart.MultipartRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: zihua
 * @Date: 2020/8/17 16:17
 * @Version 1.0
 */
public interface TaskService {


    TaskMaster create(TaskMaster taskMaster, MultipartRequest multipartRequest, HttpServletRequest req) throws Exception;

    boolean acceptTask(TaskDTO taskDTO,TaskMaster taskMaster) throws Exception;

    boolean commitTask(TaskDTO taskDTO,MultipartRequest multipartRequest, HttpServletRequest req) throws Exception;

}
